package com.xuecheng.api.filesystem;

import com.xuecheng.framework.domain.filesystem.response.UploadFileResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

@Api(value="分布式文件系统",description = "提供文件上传到Mongodb")
public interface FileSystemControllerApi {
    @ApiOperation("上传文件,参数:文件本身,文件标签,业务标签  操作Mongodb xc_fs")
    public UploadFileResult upload(MultipartFile multipartFile,
                                   String filetag,
                                   String businessKey,
                                   String metadata);
}
